package service.impl;

import entity.Useraddressoutreach;
import mapper.UseraddressoutreachMapper;
import org.springframework.beans.factory.annotation.Autowired;
import service.UseraddressouteachService;

public class UseraddressouteachServiceimpl implements UseraddressouteachService {
    @Autowired
    UseraddressoutreachMapper useraddressoutreachMapper;
    @Override
    public int deleteByPrimaryKey(Integer id) {
        return useraddressoutreachMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int insert(Useraddressoutreach record) {
        return useraddressoutreachMapper.insert(record);
    }

    @Override
    public int insertSelective(Useraddressoutreach record) {
        return useraddressoutreachMapper.insertSelective(record);
    }

    @Override
    public Useraddressoutreach selectByPrimaryKey(Integer id) {
        return useraddressoutreachMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByPrimaryKeySelective(Useraddressoutreach record) {
        return useraddressoutreachMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(Useraddressoutreach record) {
        return useraddressoutreachMapper.updateByPrimaryKey(record);
    }
}
